package com.wxq.mybatis.io;

import java.io.InputStream;

/**
 * 获取文件输入流
 *
 * @Author wxq
 * @Date 2021/4/23
 **/
public class Resource {

    public static InputStream getInputStream(String path) {

        return Resource.class.getClassLoader().getResourceAsStream(path);

    }


}
